package com.yqzl.util;


import com.yqzl.entity.Goods;
import com.yqzl.entity.GoodsDetail;
import com.yqzl.entity.Image;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;

public class DataUtils {
  static HashMap<String, ArrayList<Goods>> allGoods = new HashMap();
  static HashMap<String, GoodsDetail> GoodsDetails = new HashMap<>();

  static {
    // 手机类
    ArrayList<Goods> goods = new ArrayList<>();
    goods.add(new Goods("dist/upload/goods/001001.png", "华为", "5999.0", "华为旗舰手机，搭载麒麟芯片，拍照出色，性能强劲，适合商务与日常使用。", "30w+"));
    goods.add(new Goods("dist/upload/goods/001005.png", "OPPO手机", "3499.0", "高性能旗舰机型，轻薄设计，支持VOOC闪充，满足你对颜值与性能的双重需求。", "10w+"));
    goods.add(new Goods("dist/upload/goods/001006.png", "IQQO手机", "3299.0", "专为游戏玩家打造，配备高刷新率屏幕与液冷散热系统，流畅运行大型游戏。", "15w+"));
    goods.add(new Goods("dist/upload/goods/001004.png", "小米手机", "2799.0", "性价比极高的国产手机，MIUI系统功能丰富，适合年轻用户群体。", "8w+"));
    allGoods.put("手机", goods);

    // 电脑类
    ArrayList<Goods> goods1 = new ArrayList<>();
    goods1.add(new Goods("dist/upload/goods/001002.png", "华为电脑", "8999.0", "轻薄本代表作，续航能力强，适合办公、学习及差旅使用。", "20w+"));
    goods1.add(new Goods("dist/upload/goods/001007.png", "荣耀手机", "3999.0", "荣耀MagicBook系列笔记本，外观时尚，性能均衡，学生党首选。", "18w+"));
    goods1.add(new Goods("dist/upload/goods/001008.png", "荣耀手表", "1499.0", "智能运动手表，支持心率监测、睡眠分析、多种运动模式，健康生活助手。", "5w+"));
    goods1.add(new Goods("dist/upload/goods/001003.png", "小米手环", "199.0",  "高性价比智能手环，支持心率监测、睡眠分析、运动记录，续航能力强，适合日常健康追踪。", "7w+"));
    allGoods.put("电脑", goods1);

    // 数码类
    allGoods.put("数码", goods1);

    // 女装类
    ArrayList<Goods> goods4 = new ArrayList<>();

    goods4.add(new Goods("dist/upload/goods/002001.png", "短袖", "199.0", "夏季百搭纯棉T恤，透气舒适，休闲穿搭好选择。", "8w+"));
    goods4.add(new Goods("dist/upload/goods/002002.png", "太平鸟连衣裙", "399.0", "优雅剪裁，适合春秋季穿着，聚会、约会皆宜。", "4w+"));
    goods4.add(new Goods("dist/upload/goods/002003.png", "童装", "299.0", "儿童春秋套装，纯棉材质，柔软亲肤，宝宝穿着更舒适。", "3w+"));

    allGoods.put("女装", goods4);
    allGoods.put("男装", goods4);
    allGoods.put("童装", goods4);

    // 家电类 - 空调
    ArrayList<Goods> goods6 = new ArrayList<>();
    goods6.add(new Goods("dist/upload/goods/003001.png", "省电空调", "3999.0", "一级能效变频空调，节能静音，适合卧室与客厅使用。", "15w+"));
    goods6.add(new Goods("dist/upload/goods/003002.png", "冰箱", "3299.0", "双门家用冰箱，保鲜效果好，噪音低，适合小家庭使用。", "10w+"));
    goods6.add(new Goods("dist/upload/goods/003003.png", "油烟机", "6999.0", "大吸力侧吸式油烟机，智能感应烟雾，厨房清洁好帮手。", "5w+"));

    allGoods.put("空调", goods6);
    allGoods.put("冰箱", goods6);
    allGoods.put("油烟机", goods6);

    // 美妆洗护类 - 美妆
    ArrayList<Goods> goods9 = new ArrayList<>();
    goods9.add(new Goods("dist/upload/goods/004001.png", "唇膏", "129.0", "滋润保湿口红，多种色号可选，适合日常与约会场合。", "10w+"));
    goods9.add(new Goods("dist/upload/goods/004002.png", "牙膏", "29.9", "美白清新口气牙膏，含氟配方，保护牙齿健康。", "8w+"));
    goods9.add(new Goods("dist/upload/goods/004003.png", "纸巾", "19.9", "三层柔韧抽纸，无香型，适合家庭与办公室使用。", "15w+"));
    goods9.add(new Goods("dist/upload/goods/004004.png", "高级纸巾", "39.9", "原生木浆制造，不含荧光剂，母婴可用，安全又放心。", "12w+"));

    allGoods.put("美妆", goods9);
    allGoods.put("洗漱", goods9);
    allGoods.put("纸巾", goods9);

    // 交通工具类 - 电动车
    ArrayList<Goods> goods12 = new ArrayList<>();
    goods12.add(new Goods("dist/upload/goods/005001.png", "雅迪", "3499.0", "雅迪E系列电动自行车，续航强，充电快，城市通勤的理想选择。", "10w+"));
    goods12.add(new Goods("dist/upload/goods/005002.png", "比亚迪唐", "29999.0", "新能源SUV，空间宽敞，配置丰富，适合家庭出行与长途旅行。", "8w+"));
    goods12.add(new Goods("dist/upload/goods/005003.png", "电瓶", "899.0", "电动车专用铅酸电池，容量足，续航久，适配多款车型。", "12w+"));

    allGoods.put("电动车", goods12);
    allGoods.put("新能源", goods12);
    allGoods.put("配件", goods12);
  }

  static {
// 主图
    GoodsDetails.put("华为", new GoodsDetail("dist/upload/goods/001001.png", "华为", "1999.99",
        // 6     小图
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"), Arrays.asList("曜金黑", "银色", "金色", "蓝色"), "曜金黑", Arrays.asList("标准版", "豪华版", "尊享版"), "标准版", 1,"华为旗舰手机，搭载麒麟芯片，拍照出色，性能强劲，适合商务与日常使用。"));

// 主图
    GoodsDetails.put("OPPO手机", new GoodsDetail("dist/upload/goods/001005.png", "OPPO手机", "1999.99",
        // 6     小图
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("星河银", "极夜黑", "雾光渐变", "深海蓝"), "极夜黑",
        Arrays.asList("8GB+128GB", "8GB+256GB", "12GB+256GB"), "8GB+128GB", 1,"高性能旗舰机型，轻薄设计，支持VOOC闪充，满足你对颜值与性能的双重需求"));

    GoodsDetails.put("高级纸巾", new GoodsDetail(
        "dist/upload/goods/004004.png",
        "高级纸巾",
        "1999.99",
        Arrays.asList(
            "dist/upload/details/0010001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("白色", "蓝色", "粉色"),
        "白色",
        Arrays.asList("普通装", "家庭装", "旅行装"),
        "普通装",
        1, // 商品数量
        "采用优质原生木浆制造，三层加厚设计，柔软舒适，无香料添加，适合日常使用。"
    ));

    GoodsDetails.put("雅迪", new GoodsDetail(
        "dist/upload/goods/005001.png",
        "雅迪",
        "1999.99",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("酷炫黑", "珍珠白", "活力橙", "星空蓝"),
        "酷炫黑",
        Arrays.asList("基础版", "升级版", "豪华版"),
        "基础版",
        1, // 商品数量
        "雅迪E系列电动自行车，搭载高效电机与大容量电池，续航可达50公里以上，城市通勤的理想选择。"
    ));

    GoodsDetails.put("比亚迪唐", new GoodsDetail(
        "dist/upload/goods/005002.png",
        "比亚迪唐",
        "1999.99",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("玄晶黑", "雪域白", "山脉灰", "赤帝红"),
        "玄晶黑",
        Arrays.asList("标准续航", "长续航", "四驱高性能"),
        "标准续航",
        1, // 商品数量
        "比亚迪旗舰SUV车型，搭载DM-i超级混动系统，空间宽敞，配置丰富，适合家庭出行与长途旅行。"
    ));

    GoodsDetails.put("电瓶", new GoodsDetail(
        "dist/upload/goods/005003.png",
        "电瓶",
        "1999.99",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("黑色", "灰色", "红色", "蓝色"),
        "黑色",
        Arrays.asList("标准型", "加强型", "专业型"),
        "标准型",
        1, // 商品数量
        "电动车专用铅酸电池，容量足、续航久，适配多款车型，安装简便，性能稳定可靠。"
    ));

    GoodsDetails.put("纸巾", new GoodsDetail(
        "dist/upload/goods/004003.png",
        "纸巾",
        "1999.99",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("白色", "浅蓝", "淡粉"),
        "白色",
        Arrays.asList("单层", "双层", "三层"),
        "单层",
        1, // 商品数量
        "三层柔韧抽纸，无香型，吸水性强，适用于日常清洁、擦拭等多种用途，适合家庭与办公室使用。"
    ));

    GoodsDetails.put("唇膏", new GoodsDetail(
        "dist/upload/goods/004001.png",
        "唇膏",
        "129.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("玫瑰红", "珊瑚橙", "豆沙色", "裸粉色"),
        "玫瑰红",
        Arrays.asList("滋润型", "哑光型", "亮泽型"),
        "滋润型",
        1, // 商品数量
        "高显色度唇膏，质地顺滑不拔干，含保湿精华成分，打造自然妆感，适合日常与约会场合使用。"
    ));
    GoodsDetails.put("牙膏", new GoodsDetail(
        "dist/upload/goods/004002.png",
        "牙膏",
        "29.9",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("白色", "薄荷绿", "蓝色", "紫色"),
        "白色",
        Arrays.asList("清新口气", "美白牙齿", "抗敏感"),
        "清新口气",
        1,
        "含天然薄荷精华，有效去除牙渍，持久清新口气，适合早晚刷牙使用。"
    ));

    GoodsDetails.put("省电空调", new GoodsDetail(
        "dist/upload/goods/003001.png",
        "省电空调",
        "3999.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("曜金黑", "银色", "金色", "白色"),
        "曜金黑",
        Arrays.asList("1匹", "1.5匹", "2匹"),
        "1匹",
        1,
        "一级能效变频空调，节能省电，快速制冷热，低噪音运行，适用于中小型卧室。"
    ));

// 其他商品按此模式继续...

    GoodsDetails.put("IQQO手机", new GoodsDetail(
        "dist/upload/goods/001006.png",
        "IQQO手机",
        "3299.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("幻影黑", "极光白", "星空灰", "烈焰红"),
        "幻影黑",
        Arrays.asList("8GB+128GB", "8GB+256GB", "12GB+256GB"),
        "8GB+128GB",
        1,
        "专为游戏玩家打造，配备高刷新率屏幕与液冷散热系统，流畅运行大型游戏。"
    ));


    GoodsDetails.put("华为电脑", new GoodsDetail(
        "dist/upload/goods/001002.png",
        "华为电脑",
        "8999.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("曜金黑", "银色", "金色", "白色"),
        "曜金黑",
        Arrays.asList("i5处理器", "i7处理器", "AMD Ryzen"),
        "i5处理器",
        1,
        "轻薄本代表作，续航能力强，适合办公、学习及差旅使用。"
    ));

    GoodsDetails.put("小米手环", new GoodsDetail(
        "dist/upload/goods/001003.png",
        "小米手环",
        "199.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("黑色", "蓝色", "红色", "绿色"),
        "黑色",
        Arrays.asList("标准版", "NFC版"),
        "标准版",
        1,
        "高性价比智能手环，支持心率监测、睡眠分析、运动记录，续航能力强，适合日常健康追踪。"
    ));


    GoodsDetails.put("短袖", new GoodsDetail(
        "dist/upload/goods/002001.png",
        "短袖",
        "199.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("白色", "黑色", "灰色", "蓝色"), // 合理的颜色选项
        "白色", // 默认选中的颜色
        Arrays.asList("S", "M", "L", "XL"), // 尺寸选项
        "S", // 默认选中的尺寸
        1,
        "夏季百搭纯棉T恤，透气舒适，休闲穿搭好选择。"
    ));

    GoodsDetails.put("小米手机", new GoodsDetail(
        "dist/upload/goods/001004.png",
        "小米手机",
        "2799.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("星际蓝", "月光银", "碳纤维黑", "晨曦橙"),
        "星际蓝",
        Arrays.asList("6GB+128GB", "8GB+128GB", "8GB+256GB"),
        "6GB+128GB",
        1,
        "性价比极高的国产手机，MIUI系统功能丰富，适合年轻用户群体。"
    ));

    GoodsDetails.put("油烟机", new GoodsDetail(
        "dist/upload/goods/003003.png",
        "油烟机",
        "6999.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("不锈钢", "哑光黑", "镜面银"), // 合理的颜色选项
        "不锈钢", // 默认选中的颜色
        Arrays.asList("标准版", "加强版", "豪华版"), // 配置选项
        "标准版", // 默认选中的配置
        1,
        "大吸力侧吸式油烟机，智能感应烟雾，厨房清洁好帮手。"
    ));

    GoodsDetails.put("冰箱", new GoodsDetail(
        "dist/upload/goods/003002.png",
        "冰箱",
        "3299.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("白色", "银色", "金色"), // 合理的颜色选项
        "白色", // 默认选中的颜色
        Arrays.asList("单门", "双门", "三门"), // 配置选项
        "双门", // 默认选中的配置
        1,
        "双门家用冰箱，保鲜效果好，噪音低，适合小家庭使用。"
    ));

    GoodsDetails.put("童装", new GoodsDetail(
        "dist/upload/goods/002003.png",
        "童装",
        "299.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("粉色", "天蓝色", "浅黄色", "绿色"), // 合理的颜色选项
        "粉色", // 默认选中的颜色
        Arrays.asList("1-2岁", "3-4岁", "5-6岁"), // 尺寸选项
        "1-2岁", // 默认选中的尺寸
        1,
        "儿童春秋套装，纯棉材质，柔软亲肤，宝宝穿着更舒适。"
    ));

    GoodsDetails.put("太平鸟连衣裙", new GoodsDetail(
        "dist/upload/goods/002002.png",
        "太平鸟连衣裙",
        "399.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("红色", "黑色", "米色", "藏青色"), // 合理的颜色选项
        "红色", // 默认选中的颜色
        Arrays.asList("S", "M", "L", "XL"), // 尺寸选项
        "S", // 默认选中的尺寸
        1,
        "优雅剪裁，适合春秋季穿着，聚会、约会皆宜。"
    ));

    GoodsDetails.put("荣耀手表", new GoodsDetail(
        "dist/upload/goods/001008.png",
        "荣耀手表",
        "1499.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("黑色", "白色", "蓝色"), // 合理的颜色选项
        "黑色", // 默认选中的颜色
        Arrays.asList("运动版", "经典版", "尊享版"), // 配置选项
        "运动版", // 默认选中的配置
        1,
        "智能运动手表，支持心率监测、睡眠分析、多种运动模式，健康生活助手。"
    ));

    GoodsDetails.put("荣耀手机", new GoodsDetail(
        "dist/upload/goods/001007.png",
        "荣耀手表",
        "1499.0",
        Arrays.asList(
            "dist/upload/details/001001/imgs/01.png",
            "dist/upload/details/001001/imgs/02.png",
            "dist/upload/details/001001/imgs/03.png",
            "dist/upload/details/001001/imgs/04.png",
            "dist/upload/details/001001/imgs/05.png",
            "dist/upload/details/001001/imgs/06.png"),
        Arrays.asList("黑色", "白色", "蓝色"), // 合理的颜色选项
        "黑色", // 默认选中的颜色
        Arrays.asList("运动版", "经典版", "尊享版"), // 配置选项
        "运动版", // 默认选中的配置
        1,
        "荣耀手机，外观时尚，性能均衡，学生党首选。"
    ));



// 注意：有两个"IQQO手机"条目，这里只保留一个避免重复。
  }


  public static ArrayList<Image> initImage() {
    ArrayList<Image> images = new ArrayList<>();

    {
      //   返回轮播图的数据  轮播图的数据格式
//  images: [
//  { src: '/dist/upload/carousel/01.png', alt: 'Image 1' },
//  { src: '/dist/upload/carousel/02.png', alt: 'Image 2' },
//  { src: '/dist/upload/carousel/03.png', alt: 'Image 3' },
//  { src: '/dist/upload/carousel/04.png', alt: 'Image 4' },
//  { src: '/dist/upload/carousel/05.png', alt: 'Image 5' },
//      ]
      images.add(new Image("/dist/upload/carousel/01.png", "Image 1"));
      images.add(new Image("/dist/upload/carousel/02.png", "Image 2"));
      images.add(new Image("/dist/upload/carousel/03.png", "Image 3"));
      images.add(new Image("/dist/upload/carousel/04.png", "Image 4"));
      images.add(new Image("/dist/upload/carousel/05.png", "Image 5"));
    }
    return images;
  }

  public static List getGoodSbyGoodsName(String name) {
    return allGoods.get(name);
  }

  public static GoodsDetail getGoodsDetail(String name) {
    return GoodsDetails.get(name);
  }


  public static void main(String[] args) {
    GoodsDetail 华为 = getGoodsDetail("华为");
    System.out.println(华为);
  }

  //  猜你喜欢的数据
  public static List getLike() {
    ArrayList<Goods> goods = new ArrayList<>();
    goods.add(new Goods("dist/upload/goods/001001.png", "华为", "5999.0", "华为旗舰手机，搭载麒麟芯片，拍照出色，性能强劲，适合商务与日常使用。", "30w+"));
    goods.add(new Goods("dist/upload/goods/001002.png", "华为电脑", "3499.0", "高性能旗舰机型，轻薄设计，支持VOOC闪充，满足你对颜值与性能的双重需求。", "10w+"));
    goods.add(new Goods("dist/upload/goods/001003.png", "小米手环", "3299.0", "专为游戏玩家打造，配备高刷新率屏幕与液冷散热系统，流畅运行大型游戏。", "15w+"));
    goods.add(new Goods("dist/upload/goods/001004.png", "小米手机", "299.0",
        "高性价比智能手环，支持心率监测、睡眠分析、运动记录，续航能力强，适合日常健康追踪。", "8w+"));
    return goods;
  }
}
